[#ftl]
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/bootstrap.css" />
<script type="text/javascript" src="/js/jquery-1.9.1.js"></script>
<script type="text/javascript">
$(function() {
	getMsg();
});

function getMsg() {
	$.post("/room/getMsg.do?username=${username}", function(data) {
		var messages = data.split('|');
		for(var i=0;i<messages.length;i++) {
			if("refreshList" == messages[i]) {
				$.post("/room/refreshList.do", function(refreshListData) {
					var clients = refreshListData.split('|');
				});
			}
		}
		getMsg();
	});
}
</script>
</head>
<body>
	<div class="hero-unit">
	  	<p>${loginMessage}</p>
	</div>
	<table id="clientsList" class="table table-bordered table-striped">
	</table>
</body>
</html>